#include "StdAfx.h"
#include "UIBase.h"

UIBase::UIBase(void)
{
	m_pUIRender = &CEGUI::OgreRenderer::bootstrapSystem();
	m_pUISystem = CEGUI::System::getSingletonPtr();
	m_pUIWinMgr = CEGUI::WindowManager::getSingletonPtr();

	CEGUI::SchemeManager::getSingleton().create("Game.scheme");
	m_pUISystem->setDefaultMouseCursor("TaharezLook", "MouseArrow");
	CEGUI::FontManager::getSingleton().create("simfang.font");

	//m_pUIRootWin = m_pUIWinMgr->createWindow("DefaultWindow", "RootWindow");
	//m_pUISystem->setGUISheet(m_pUIRootWin);
}

UIBase::~UIBase(void)
{
}
